package pkg

type Action string
const Click Action="click"
const ButtonTYPE string="button"
const MEG_TYPE_WINEPREFIX=1
const MSG_TYPE_PRG_NAME = 2
const MSG_TYPE_GET_BUTTONS =3
const MSG_TYPE_ACTION =4

type Button struct {
	Name string `json:"name,omitempty"`
	ButtonType string `json:"type,omitempty"`
}


// name type action
type Step struct {
	name string
}

type MsgButton struct {
	MsgType int `json:"type,omitempty"`
	Buttons []Button `json:"body,omitempty"`
}

type MsgAction struct {
	MsgType int `json:"type,omitempty"`
	Result string `json:"body,omitempty"`
}


type MegApp struct {
	MegType int `json:"type,omitempty"`
	Body MegAppBody `json:"body,omitempty"`
}

type MegAppBody struct {
	Pid int `json:"pid,omitempty"`
	WineName string `json:"wine_name,omitempty"`
	ProgramName string `json:"program_name,omitempty"`
}


type imageButton struct {
	x int
	y int
	width int
	height int
}


